<%--
  Created by IntelliJ IDEA.
  User: EDZ
  Date: 2021/2/26
  Time: 14:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<link rel="stylesheet" href="/static/css/bootstrap/css/bootstrap.css" />
<body>
<form action="/sys/user/update" method="get">
    <input type="text" name="id" value="${user.id}" style="display: none">

    账号： <input type="text" value="${user.username}" name="username"><br>
    密码：<input type="text" value="${user.password}" name="password"><br>
    部门：<input type="text" value="${user.deptId}" name="deptId"><br>
    性别：<input type="radio" value="1" name="sex" checked="<c:if test="${user.sex==1}">checked</c:if>" >男
    <input type="radio" value="0" name="sex" checked="<c:if test="${user.sex==0}">checked</c:if>">女<br>
    <input type="submit" value="修改" class="btn btn-info">
</form>
</body>
</html>
